import { ADD_COUNT } from '../case/count'

function count(state = 888, { type }) {
    switch (type) {
        case ADD_COUNT:
            state += 1
            return state
        default:
            return state
    }
}


export default count